package com.sigmatrix.h5.entity.v2;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.sigmatrix.h5.entity.base.SuperEntity;

import io.swagger.annotations.ApiModelProperty;

@TableName("_ver_record")
public class VerRecord extends SuperEntity<VerRecord> {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableId(value="id",type=IdType.AUTO)
    protected Integer id;
	//产品码code
	@ApiModelProperty("产品码code")
	private String productCode;
	//奖品码code
	@ApiModelProperty("奖品码code")
	private String prizeCode;
	//中奖者openId
	@ApiModelProperty("中奖者openId")
	private String openId;
	//中奖时间
	@ApiModelProperty("中奖时间")
	private Date winningPrizeDate;
	//核销者 crm id
	@ApiModelProperty("核销者 crm id")
	private Integer userId;
	//核销者 crm id
	@ApiModelProperty("核销者 crm 账号")
	private String userAccount;
	//核销门店id
	@ApiModelProperty("核销门店id")
	private Integer shopId;
	//核销时间
	@ApiModelProperty("核销时间")
	private Date verificationDate;
	//状态(0未核销1已核销)
	@ApiModelProperty("状态(0未核销1已核销)")
	private Short status;
	//核销类型(1门店核销2业务员核销)
	@ApiModelProperty("核销类型(1门店核销2业务员核销)")
	private Short type;
	//预约记录id（暂时不用）
	@ApiModelProperty("预约记录id")
	private Integer appointmentId;
	
	private Integer province;
	
	private Integer city;
	
	private Integer county;
	
	private String address;
	
	private String lat;
	
	private String lng;
	
	@ApiModelProperty("奖品id")
	private Integer prizeId;
	
	@ApiModelProperty("奖品名称")
	private String prizeName;
	
	@ApiModelProperty("产品id")
	private Integer productId;
	
	@ApiModelProperty("产品名称")
	private String productName;
	
	@ApiModelProperty("面值(弃用)")
	private Integer faceValue;
	
	private String remark;
	
	@ApiModelProperty("面值")
	private Integer amount;
	
	@ApiModelProperty("数量")
	private Integer num;
	
	
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public String getPrizeCode() {
		return prizeCode;
	}
	public void setPrizeCode(String prizeCode) {
		this.prizeCode = prizeCode;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public Date getWinningPrizeDate() {
		return winningPrizeDate;
	}
	public void setWinningPrizeDate(Date winningPrizeDate) {
		this.winningPrizeDate = winningPrizeDate;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public Date getVerificationDate() {
		return verificationDate;
	}
	public void setVerificationDate(Date verificationDate) {
		this.verificationDate = verificationDate;
	}
	public Short getStatus() {
		return status;
	}
	public void setStatus(Short status) {
		this.status = status;
	}
	public Short getType() {
		return type;
	}
	public void setType(Short type) {
		this.type = type;
	}
	public Integer getAppointmentId() {
		return appointmentId;
	}
	public void setAppointmentId(Integer appointmentId) {
		this.appointmentId = appointmentId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getProvince() {
		return province;
	}
	public void setProvince(Integer province) {
		this.province = province;
	}
	public Integer getCity() {
		return city;
	}
	public void setCity(Integer city) {
		this.city = city;
	}
	public Integer getCounty() {
		return county;
	}
	public void setCounty(Integer county) {
		this.county = county;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public Integer getPrizeId() {
		return prizeId;
	}
	public void setPrizeId(Integer prizeId) {
		this.prizeId = prizeId;
	}
	public String getPrizeName() {
		return prizeName;
	}
	public void setPrizeName(String prizeName) {
		this.prizeName = prizeName;
	}
	public String getUserAccount() {
		return userAccount;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public Integer getFaceValue() {
		return faceValue;
	}
	public void setFaceValue(Integer faceValue) {
		this.faceValue = faceValue;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	
}
